package com.itheima.类加载与反射.反射.案例一;

public class 测试类 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class c1 = Class.forName("com.itheima.类加载与反射.反射.案例一.Student");
        System.out.println(c1);
        Class c2 = Student.class;
        System.out.println(c2);
        Student stu = new Student();
        Class c3 = stu.getClass();
        System.out.println(c3);
        System.out.println(c1==c2);
        System.out.println(c2==c3);
    }
}
